package com.example.demo.mapper;

import com.example.demo.domain.Event;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EventMapper {
    int InsertEvent(Event event);
    int DeleteEvent(Integer id);
    int UpdateEvent(Event event);
    List<Event> SelectAll();
    Event SelectEvent(Integer id);
}
